package com.saturn.action.system.dict.test;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.saturn.app.web.IAction;
import com.saturn.app.web.IView;
import com.saturn.app.web.view.JspView;
import com.saturn.system.DictTest;

public class DeleteDictTestAction implements IAction {

	@Override
	public IView execute(HttpServletRequest request,
			HttpServletResponse response) {

		String idStr = request.getParameter("ids");
		String[] ids = idStr.split("__");
		
		DictTest.removes(ids);
		return new JspView("/system/dict/test/showDictTest.jsp");
	}

	@Override
	public String requestMapping() {
		return "/system/dict/deleteDictTest.action";
	}

}
